package com.zzyl.serve.dto;

import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "处理报警数据")
public class HandleAlertDataDto {

    @ApiModelProperty(value = "员工id", required = false)
    private Long id;

    @ApiModelProperty(value = "处理结果", required = true)
    private String processingResult;

    @ApiModelProperty(value = "处理时间", required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime processingTime;

    @ApiModelProperty(value = "员工姓名", required = false)
    private String userName;

    // 处理人id
    @Excel(name = "处理人id")
    @ApiModelProperty("处理人id")
    private Long processorId;

    @ApiModelProperty(value = "员工id", required = false)
    private Long userId;
    // 物联网设备id
    @Excel(name = "物联网设备id")
    @ApiModelProperty("物联网设备id")
    private String iotId;



}
